package cn.edu.ctbu.mybatis02.dao;

import cn.edu.ctbu.mybatis02.core.CommonSaveParam;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReadTable {



    @Select("select *"
            + " from ${tableName}")
    List<Map<String, Object>> listByTableName(@Param(value = "tableName") String tableName);



    void  SaveByTable(CommonSaveParam commonSaveParam);
}
